package com.atguigu.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * spu信息
 *
 * @author polarisink
 * @email polarisink@163.com
 * @date 2020-12-18 13:31:35
 */
@Data
@TableName("pms_spu_info")
public class SpuInfoEntity implements Serializable {
  private static final long serialVersionUID = 1L;

  /**
   * 商品id
   */
  @TableId
  private Long id;
  /**
   * 商品名称
   */
  private String spuName;
  /**
   * 商品描述
   */
  private String spuDescription;
  /**
   * 所属分类id
   */
  private Long catalogId;
  /**
   * 品牌id
   */
  private Long brandId;
  /**
   *
   */
  private BigDecimal weight;
  /**
   * 上架状态[0 - 下架，1 - 上架]
   */
  private Integer publishStatus;
  /**
   *
   */
  private Date createTime;
  /**
   *
   */
  private Date updateTime;

}
